﻿<%@ Page Language="C#" MasterPageFile="~/admin/Admin.master" AutoEventWireup="true" CodeFile="A_HinhThucThanhToan.aspx.cs" Inherits="admin_A_HinhThucThanhToan" Title="Untitled Page" %>

<%@ Register Assembly="ASPnetPagerV2_8" Namespace="ASPnetControls" TagPrefix="cc1" %>

<asp:Content ID="Content2" ContentPlaceHolderID="contentPlaceHolder" Runat="Server">
    <table style="width: 100%" align="center">
        <tr>
            <td colspan="5" style="height: 12px; background-image: none; text-transform: capitalize; color: #993300; background-color: #cccccc;" align="center">
                Các loại hình thức thanh toán</td>
        </tr>
        <tr>
            <td colspan="2" style="height: 13px; background-color: #cccccc;">
                Mã :<asp:TextBox ID="txtmahinhthuc" runat="server"></asp:TextBox>&nbsp; Tên :
                <asp:TextBox ID="txttenhinhthuc" runat="server"></asp:TextBox>&nbsp;<asp:Button ID="bttimkiem"
                    runat="server" OnClick="bttimkiem_Click" Text="Tìm kiếm" /><asp:LinkButton ID="lbt_Xoa" runat="server" OnClick="lbt_x_Click" >Xóa</asp:LinkButton><a href="A_HinhThucThanhToan_insert.aspx">Thêm</a></td>
        </tr>
        <tr>
            <td colspan="2" style="background-color: #cccccc">
            <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound">
                <HeaderTemplate>
                <table cellspacing="1" cellpadding="3" width="100%" bgcolor="#cccccc" border="0">
                   <thead>
                    <tr class="listtableheader">
                        <th>Mã Hình Thức</th>
                        <th>Tên </th>
                        <th>Mô Tả </th>
                        <th>Hình Ảnh </th>
                        <th>Sửa</th>
                       <th> <input id="cb_All" type="checkbox" onclick="CheckAll(1);"/>
                      <a href="javascript:CheckAll(2)">Chọn hết</a></th>
                    </tr>
                </thead>
                <tbody>
                </HeaderTemplate>  
                <ItemTemplate>
                  <tr>
                    <td><%#Eval("MaHinhThucThanhToan")%></td>
                    <td><%#Eval("TenHinhThucThanhToan")%></td>
                     <td><%#Eval("MoTa")%></td>
                    <td>
                        <asp:Image ID="hinhanh" runat="server" /></td>
                    <td align="center">
                        <asp:HyperLink ID="hplsua" runat="server">Sửa</asp:HyperLink></td>
                         <td align="center">
            <asp:CheckBox ID="cb_Xoa" runat="server"  />
            <asp:HiddenField ID="hdmaht" Value='<%#Eval("MaHinhThucThanhToan") %>' runat="server" />
            </td>
                  </tr>
                  
                </ItemTemplate>
                <FooterTemplate>
                </tbody>
                   </table>
                
                </FooterTemplate>
               </asp:Repeater>
                  <cc1:PagerV2_8 ID="pthinhthucthanhtoan" runat="server" OnCommand="pthinhthucthanhtoan_Command" />
            </td>
        </tr>
    </table>

</asp:Content>

